fixup startup script