add option to specify location of lucene index output folder