Added function to create the first row, altered the script building function to accept the api keys. Added check for keys to make sure they exist before building the map.