Fixed bug in adapt for batch mode where there was no reset in value, need to reset py2exe and push online