Python V3 compatible + adapted path to windows env + moved update.sh to python function