updated data template display
updated data template display
updated variable creation to create global variable and copy to local correctly