Fix temporary directory.
Add script to generate demo page.