Made several changes to have script work on windows with Python 3.3 and teamcity 7.1.5