Initial commit of if_scope_lookup_var_template