add start/stop script code