updated CDH scripts for CDH 5.2