Changed reindex script for both snapshots and releases