made change to enable window users to use script