changed input.sh to correspond with new index.cpp