Added temp dir cleanup
Improved temp file cleanup
Added lines to ensure md, rst, txt files are includes
Fix accidently stepped-on shebang
Temp file cleanup