Rewrote the seqenv wrapper