improve start/stop scripts