Updated daily.sh to support N snapshots