adds the ability to script on view results