minor changes to permissions