Turn globbing off in curl 

Add some extra escaping in for sQuery