search button, script inserting