More commands working. Switched how hasPermissions works to clean up the code.