added app to global template vars