Fix pathname to script