update build script to init ivy