set env stuff with config from magento