fixing start/stop scripts