Bug fix for deployment task.
Enable custom tasks.