multiple changes to get activeTE_msa.pl running on network cluster