script for running a probe