first revision of snapshot script
Merge pull request #2 from mr-david/snapscript

first revision of snapshot script