updated permissions and files