the search query put inside quotes
removed all comments
removed unwanted logging