Probably a little of both! My guess is Stan suggested the plot after reading the book.