Change default build directory
Make sure the path exists that the figures are to be written to.
Don't move the file if it doesn't need to be moved.
Move extracted files into their own subdir
Added a space between pound and comments (@minrk request)