updated template to work with trusty