add example as test of interpolate and change script template to interpolate