shell scripts for pcla analysis