updating permissions for run scripts