updated module builder script
corrected build-modules script