Fixed startup
Changed the permissions system