Fix run errors in regiment script
Fix run errors in regiment script

rrnewton/WaveScript,rrnewton/WaveScript,rrnewton/WaveScript,rrnewton/WaveScript,rrnewton/WaveScript,rrnewton/WaveScript,rrnewton/WaveScript