Fixed script premissions