Fixed script permissions