Added query url from the main query
removed unwated URLs
added certs and minor changes