add migrate and rivet to image