Updated config to grab options from the canvas element.