fixed conf script to apply changes to correct file