adjust script to place search after similar entities block