creating index script added