CD-11
script fixes on stage_dist on variable execution