Add example script for nightly indexing