Converted scripts to work with windows