Added import chapters function