support environ variable AMEDAS