Added s_template and l_template commands