allow envelope to be set from config.lua