a few more additions to app_template