You can just use ```application:get_env/3``` here to avoid the case statement.