added script for permissions update