added the ibl build script from Hao