Python Replace Environment Variable In D365