Made the build environment dynamic