all cleaned up... ready for mlocarna & PETfold SGE script