refractor env