Modified agreement template and added readonly template