small bug fix for running scripts on windows machines