updated export script to work with python3, added embedded pictures, added automatic conversion to pdf with pandoc