adding generic module to take screenshoots with canvas