Add snapshot launch code