so you have some lines before that you didn't paste cause exit is on line 46 in the pasted...

just to be sure, check the error after call-lines to be certain the functions load correctly.
_________________________
!

download KiXnet