add context scope variable to pass custom variables to custom template