Update HDP scripts to be OS dependent