update build script + environment