add ability to serve attachments