Added webkit2png functionality