removed test code from startup script. Works like a charm. =)