added permissions scripts