add script clean index file