fix start script and remove cruft