run_command_loop.py is working now, had syntax mistake in if conditional