question: Who wrote the episode whose director is Karen Gaviola?
answer: SELECT written_by FROM table_23799653_1 WHERE directed_by = "Karen Gaviola"
context: CREATE TABLE table_23799653_1 (written_by VARCHAR, directed_by VARCHAR)