improves startup script