Updated control script to allow start/stop