Quick patch for the "snapshot" script