restructuring build environment for production