Use attachement database too