reinstated python gateway start/stop commands