Added perms for the command, added safety check