now plugin environment is passed to transformer