adding runOneOff function for Dan
Merging Tim's changes to OneOffs