Added safer script paths for Windows

Not sure if it actually fixes #256 . Wait for confirmation before merging.