fixes cloud-init script