Assigning tasks and hiring replacements