moved WriteConfig include to specific option