default to :application.get_env before giving up