made the attachment generation in article factory use a relative path