move platform specific commands to config.py