Fixes for templating, added deporder to scripts
Fixed url