Added import departments functionality