add permissions script