Fixing startup scripts.