read inputs from env