updated examples script and template
fixed dl links in tutorials