Added a using config check in writeallprops