-- fixed breaking index script