Fix some deployment tasks.