shouldn't line 79 still exist if APP_PREVIEW is effectively TRUE always?  (assuming we need this template at all)