started to modify buttons, updated with code to switch out API keys