new script for clucene