fixed make-html script to work with save/load