Minor fixes for start/stop scripts