dynamic scripting for inspectors