Improved application_helper