Support custom script templates
Support custom templates, with js, css and img by default.