diff --git a/elements/fedora-minimal/environment.d/10-fedora-distro-name.bash b/elements/fedora-minimal/environment.d/10-fedora-distro-name.bash
index 9c755ce7c..3477f1eac 100644
--- a/elements/fedora-minimal/environment.d/10-fedora-distro-name.bash
+++ b/elements/fedora-minimal/environment.d/10-fedora-distro-name.bash
@@ -1,2 +1,2 @@
 export DISTRO_NAME=fedora
-export DIB_RELEASE=${DIB_RELEASE:-22}
+export DIB_RELEASE=${DIB_RELEASE:-24}
diff --git a/elements/fedora/environment.d/10-fedora-distro-name.bash b/elements/fedora/environment.d/10-fedora-distro-name.bash
index 9c755ce7c..3477f1eac 100644
--- a/elements/fedora/environment.d/10-fedora-distro-name.bash
+++ b/elements/fedora/environment.d/10-fedora-distro-name.bash
@@ -1,2 +1,2 @@
 export DISTRO_NAME=fedora
-export DIB_RELEASE=${DIB_RELEASE:-22}
+export DIB_RELEASE=${DIB_RELEASE:-24}
diff --git a/elements/redhat-common/bin/map-packages b/elements/redhat-common/bin/map-packages
index bb6a5c2ce..0f0da702f 100755
--- a/elements/redhat-common/bin/map-packages
+++ b/elements/redhat-common/bin/map-packages
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/local/bin/dib-python
 # dib-lint: disable=indent
 # dib-lint indent requirements causes issue with pep8