Problems with startup scripts