Instead of using request.env, try publishing AS::N