Importing the artifact codebase into this repo.
Fixed build script.