code cleanup lrxlib, another fix testscript
code cleanup intermediate/output