Very usefull tutorial. Thank you very much.
Now, I'm trying to figure out what would be the best way to trigger this task automatically.
Do you have any ideas?

Connect to the Best Avaialble Wifi Network
Make sure that the network connection your connected to has the best signal