Clean up the command