refactored pdf task, added contrib-clean, fixed bug with prince annotation removal