startup script fixed