SCHEMA:
CREATE TABLE table_name_4 (written_by VARCHAR, production_code VARCHAR)
USER:
Who wrote the episode that has the production code ad1c05?

QUERY:
SELECT written_by FROM table_name_4 WHERE production_code = "ad1c05"