Added User agent to MakeQuery Function

fixes#3