Fixed init.d issues, deploy_from_s3 and fog gem with dependencies installation