finished re-write of script for multiple wfts and multiple sighrds, but still only supports non scan dpm pats