migrate build env to "imports"