added meta functionality for PDF uploads