Fix startup script