tweaked for real device/openshift