updated build script to change the way artifacts are saved, PET-116