add: set env
var's from config and layout
#1154
Merged
env
var's from config and layout
#1154