diff --git a/ChangeLog b/ChangeLog
index 67b0dc2961cc0242afedf339af69d3352427e35d..caadac5529d9bde887b7a7208519b51c80c2726a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2013-09-09, v0.5.2
+	* Fix some errors in the ci scripts
+
 2013-08-23, v0.5.1
 	* Allow more characters in the cloud name
 	* Fix various bugs
diff --git a/ci/autopkg_debian.sh b/ci/autopkg_debian.sh
index 8a46c1401e0c289ef036a5efb15f20884dd566a7..70eecdd5a4efab52848bf1de664f3d2b9fcf4305 100755
--- a/ci/autopkg_debian.sh
+++ b/ci/autopkg_debian.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/env sh
+#!/bin/sh
 set -e
 
 PACKAGES_DIR=$1
diff --git a/ci/pylint.sh b/ci/pylint.sh
index a200be125452fb975ae4ad9576a31d295d43e896..fa4dae5c371e85e640d3294073e00690daca160b 100755
--- a/ci/pylint.sh
+++ b/ci/pylint.sh
@@ -1,3 +1,3 @@
-!/bin/sh
+#!/bin/sh
 
 pylint image_creator
diff --git a/docs/conf.py b/docs/conf.py
index 8392d22492670dd9d22b8030830ef5af5618abd6..626a201cbad3e836deaa5ff1d83bb9ea6de6f937 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -50,9 +50,9 @@ copyright = u'2012, 2013 GRNET S.A. All rights reserved'
 # built documents.
 #
 # The short X.Y version.
-version = '0.5.1'
+version = '0.5.2'
 # The full version, including alpha/beta/rc tags.
-release = '0.5.1'
+release = '0.5.2'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
diff --git a/image_creator/version.py b/image_creator/version.py
index 59db0cb90748764ad97a7b99440c947213b47288..f9e59b84d3fa7b93945c3c4a1dc30af73c445057 100644
--- a/image_creator/version.py
+++ b/image_creator/version.py
@@ -1,7 +1,8 @@
-__version__ = "0.5.1"
-__version_info__ = ['0', '5', '1']
+
+__version__ = "0.5.2"
 __version_vcs_info__ = {
-    'branch': 'hotfix-0.5.1',
-    'revid': 'b25b422',
-    'revno': 393}
-__version_user_info__ = "skalkoto@darkstar.admin.grnet.gr"
+    'branch': 'hotfix-0.5.2',
+    'revid': '97a59b7',
+    'revno': 397}
+__version_user_email__ = "skalkoto@grnet.gr"
+__version_user_name__ = "Nikos Skalkotos"
diff --git a/version b/version
index 4b9fcbec101a6ff8ec68e0f95131ccda4861407f..cb0c939a936f142669d38cf1ece330266d730965 100644
--- a/version
+++ b/version
@@ -1 +1 @@
-0.5.1
+0.5.2