add mkdir_p
cleardoublepage at end of paper