script to rebuild api images.
use latest client