Removed redundant debug and added new commands.