adding option to have the snapshot scheduler purge old snapshots