start script fixes