pcla and other shell script updates