cli: add intercept scripting