'PAT ' and 'ppat' conversion scripts