writing a hacky script to run xfieldtransform in all rundirs