adding process_command_start() (thanks @jerith)