tidy up start script