set name of pso.
add average to template.