add drawing script for phasing