Fixed clean_command method. Thanks, Jason Portillo!