Fix stderr -> stdout redirect bug in startup script