move call_command to process_tools