MADS Python Scripts