fixes to snapshot script, working snapshots for dev