final form of compile script; html file added