new temp script for permissions