Script to decompose PDF to jpgs