changed to use slug instead of id for naming of interaction files