adapted startup scripts