Enh : replace parameter in file instead of adding to end. Uncommented some parameter to make it work