made the app compatible

direct_to_template has been deprecated from version 1.4