Add env to events rake task