updated script permissions