added evironment selection to add_build