Put configuration in a code block