added build script + template update nagp