Change the script to support quotes

In a very poorly manner
Added support for strings as search query