Fixed the startup scripts