Updated hook scripts for openshift build