add contract expanded search and pdf print