Added base to outputting other types of attachments