Added support for multiple inputs; Added 'extra' blocks for supporting non-substitional CSS/JS/HTML additions.