fixed order of initializations and ard.run in commander.py