user: ### NOW ANSWER:
Question: Who wrote the episode with a production code of IP03007?
Columns: ['No. in series', 'No. in season', 'Title', 'Directed by', 'Written by', 'Original air date', 'Production code']
Types: ['real', 'real', 'text', 'text', 'text', 'text', 'text']
Sample row: [18.0, 1.0, '"The Gang Finds a Dumpster Baby"', 'Jerry Levine', 'Rob McElhenney & Charlie Day', 'September13,2007', 'IP03001']
SQL:

assistant: SELECT "Written by" FROM "Table" WHERE "Production code" = 'IP03007';