Import sys env. Fixes #153