fixing script engine / lib30 dynamic routines