Fixed script on Linux