beautify start and stop scripts