startup scripts improved