diff --git a/cups-pdf-postprocess.desktop b/cups-pdf-postprocess.desktop
index c9bf9e08e0834c659c5fe23af5d7fd54b093c0ec..e14e592a54bab704c2ce6ca0447740bf4ccbb0a5 100644
--- a/cups-pdf-postprocess.desktop
+++ b/cups-pdf-postprocess.desktop
@@ -7,6 +7,6 @@ Actions=PrintPdf;
 
 [Desktop Action PrintPdf]
 Name=Print PDF
-Exec=cups-pdf-postprocess.sh %F ""
+Exec=cups-pdf-postprocess.py %F ""
 Icon=printer
 
diff --git a/cups-pdf-postprocess.sh b/cups-pdf-postprocess.sh
deleted file mode 100755
index 68b356ef80b845c995e272b13d65ecc7598c7efe..0000000000000000000000000000000000000000
--- a/cups-pdf-postprocess.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-export \
-  DISPLAY=:0 \
-  XAUTHORITY=/tmp/kde-radek/xauth-1000-_0 \
-  HOME=/home/radek \
-  KDE_SESSION_VERSION=4 \
-  XDG_CURRENT_DESKTOP=KDE
-
-exec "$(dirname "`readlink -f "$0"`")/cups-pdf-postprocess.py" "$@" <<'EOF'
-  ("Nessie gray", ["ssh", "iuuk", "lp", "-d", "nessie-gray"]),
-  ("Nessie color", ["ssh", "iuuk", "lp", "-d", "nessie-color"]),
-  ("Obludka (2nd floor)", ["ssh", "iuuk", "lp", "-d", "obludka"]),
-  ("Potvurka (Petra's office)", ["ssh", "iuuk", "lp", "-d", "potvurka"]),
-EOF
-