The puppet function is only parsed once. Use the prescribed custom puppet function layout