bug fixes for demo publising

note - issues with windows at this point.
will have to wait