Modify the conf to new env