script to automatically delete older snapshots