#if $getVar('system_name','') != '' #set $what = "system" #else #set $what = "profile" #end if