added code to skip creating a new index file if nothing changed. Force refresh with -F option