CREATE TABLE table_23799653_1 (written_by VARCHAR, directed_by VARCHAR)

Who wrote the episode whose director is Karen Gaviola?
SELECT written_by FROM table_23799653_1 WHERE directed_by = "Karen Gaviola"
SELECT "written_by" FROM "table_23799653_1" WHERE "Karen Gaviola" = "directed_by"