Another dirty hack to commit the attachments folder. Will be fixed later.