Improved NCX creation (close #79)