added gldebug script