Startup scripts fix