version bump to 0.1.2. includes refactor for environment handling