added export button, now downloads image