use run_command instead of edit object