BROKEN WIP need to require environment in library?
No good way to load the the environment into a script