your code looks correct except for 2 things:1) you haven't added valid domains and keys to the switch statement

Can you point me to the documentation for selecting these entries?
2) The original script line with the localhost api key is still in place, that will need to be removed. 
Got that. . .


