changed many hard-coded dirs to use OPENSHIFT_*_DIR env variables