Corrected appending a pmd file to another