Updating template to the new AGLbuild script