Added safer script paths for Windows

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