Fix the startup scripts