lucene fix script