added fixed snapshot generation file