Fix for NPM integration
Build Template API sketched. VFS, shell API and injection of modified attachment paths is missing.