Fix deployment tasks