fixed a bug in the demo - now the attachments also can be customized