Fixes, epi_normalization, condor_addcmd & mk_studyref