added missing select_top_level_ma_term for copyfile