Capturing config into code