fixing config file for dev and live environments