Fixed a few things. to get commands to work