Fix the set script so it works properly in openshift