That helped a lot. I thought because I'm parsing value to parameters I don't need global variables. But, is it possible to call another async function inside an async function?
I tried to login from another pc, but it didn't work.
Unzip the script and install it. At startup, enter the authorization data of the bablosoft personal account in which the script license was purchased: Sphere.rar
For those who needs this later, you can set up http proxy and send a simple get request to https://api.ipify.org , it will give you the ip adress in plain text, no need to parse the json.
One of many simple and easy ways to do it.