PMPS-78 : rewrote config templates