added --tarball and --auth-key options into templates