finish simple search and change the data script