Fixed search_cote script