minor fixes for start script