updated paths and permissions.