added access to config from layouts