added pdf and doc management with download