renamed index file to be able to use it with php5