add snapshot script.