Added support for targets via NODE_ENV and path templates.