code reformating ; supporting local conf file