fixed startup script