required external bin pandoc, fixed security in call to system, fixed typo on s///