make scriptTimeout and searchTimeout configurable