Removed outdated dependencies and combined image copying tasks.