\setfooter{\thepage}{}{}{}{}{\thepage}
% put your file(s) in an \input{} statement here
-\input{text.tex}
+\input{arrstrng.tex}
\addcontentsline{toc}{chapter}{Index}
\setheader{{\it INDEX}}{}{}{}{}{{\it INDEX}}%
\setfooter{\thepage}{}{}{}{}{\thepage}
\end{document}
+