added the option reference to snapshotScript