corrected cairo-samples script