Fixes ENV
Fixes export module
Changes instance created of auth