diff --git a/pkg/appimage/appimage.sh b/pkg/appimage/appimage.sh
index c46d22d3459bae9e08c7a4c6071ec968480b20b6..075a2658c7bbb27a2981a3c4921e8f2fb0c28639 100644
--- a/pkg/appimage/appimage.sh
+++ b/pkg/appimage/appimage.sh
@@ -1,18 +1,19 @@
 #!/bin/sh
 
 PKGNAME='ocs-url'
+PKGVER='0.0.0'
+PKGREL='1'
+
+curl -L -o linuxdeployqt "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
+chmod 755 linuxdeployqt
+./linuxdeployqt --appimage-extract
 
 sh scripts/import.sh
 qmake PREFIX="/usr"
 make
 make INSTALL_ROOT="${PKGNAME}.AppDir" install
 
-curl -L -o linuxdeployqt "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
-chmod 755 linuxdeployqt
-./linuxdeployqt --appimage-extract
-
 ./squashfs-root/AppRun ${PKGNAME}.AppDir/usr/share/applications/${PKGNAME}.desktop -bundle-non-qt-libs -no-translations -qmldir="app/qml"
 ./squashfs-root/AppRun ${PKGNAME}.AppDir/usr/share/applications/${PKGNAME}.desktop -appimage
 
-mv *.AppImage rename.AppImage
-mv rename.AppImage ${PKGNAME}-x86_64.AppImage
+mv *.AppImage ${PKGNAME}-${PKGVER}-${PKGREL}-x86_64.AppImage
diff --git a/scripts/build-docker.sh b/scripts/build-docker.sh
index 3959464beb626eaffb949d93916291b39ef48573..5a5297173af6ee40de28c5cd302fa2780457429c 100644
--- a/scripts/build-docker.sh
+++ b/scripts/build-docker.sh
@@ -1,9 +1,5 @@
 #!/bin/bash
 
-################################################################################
-# This is wrapper script for build.sh use from inside docker container
-################################################################################
-
 PKGNAME='ocs-url'
 
 PKGUSER='pkgbuilder'
diff --git a/scripts/build.sh b/scripts/build.sh
index 1553b80be473bdaded75b6284547ec7155dac947..2e6328e9e1529bd470f95d43b726a31bc9ddcac5 100644
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -1,9 +1,5 @@
 #!/bin/bash
 
-################################################################################
-# This is utility script to build distribution packages
-################################################################################
-
 PKGNAME='ocs-url'
 
 BUILDTYPE=''
diff --git a/scripts/import.sh b/scripts/import.sh
index daddb4d66d7ecf78f88ce04e881555babed97dcf..64f9385d803786dcee097c4e88ccbc97a7cd50d2 100644
--- a/scripts/import.sh
+++ b/scripts/import.sh
@@ -1,9 +1,5 @@
 #!/bin/bash
 
-################################################################################
-# This is utility script to import build dependencies
-################################################################################
-
 PROJDIR="$(cd "$(dirname "${0}")/../" && pwd)"
 
 if [ ! -d "${PROJDIR}/lib/qtlib" ]; then