creating pandoc and calibre from cloned and filtered directory