Basic config and indexing script