Added flag to config file to control snapshotting