Fixes in the pre/post install scriptlets and upstart.conf