Made app_name a template variable.