Make configuration files appropriate to the runnning environment from templates