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 70100ec2301af3fa4cd84d4d5b6a3f5f73d919a7..3158b73b0964428b8a241bd5ce79ffbc887db416 100644
--- a/image_creator/version.py
+++ b/image_creator/version.py
@@ -1,7 +1,8 @@
-__version__ = "0.5.1next"
-__version_info__ = ['0', '5', '1next']
+
+__version__ = "0.5.2next"
 __version_vcs_info__ = {
     'branch': 'develop',
-    'revid': '7b93cb7',
-    'revno': 395}
-__version_user_info__ = "skalkoto@darkstar.admin.grnet.gr"
+    'revid': '694ca1e',
+    'revno': 396}
+__version_user_email__ = "skalkoto@grnet.gr"
+__version_user_name__ = "Nikos Skalkotos"
diff --git a/version b/version
index 57cbc6c49444216ceb799006089aa800a2d36a61..26ab8ecb18f3ca1c85e4c43ba8f45c9a7b6de5da 100644
--- a/version
+++ b/version
@@ -1 +1 @@
-0.5.1next
+0.5.2next