Adding variables for document URL and api key