fixed perms and added commands