little script to download exams as pdf from moodle