Create indexandsearch.sh