first porting of template to the new fat version and the new meta version
and the new replacer version
rework