Scripts to analyze CCDs