Update to insert lines above AdHocSettings.AdHocConfig = new CustomAdHocConfig();