fixes for start script