startup script fix