Fixed up deployment issues in deploy task.