Table: tyler_perry_episodes_3
Columns: series
season
title
directed_by
written_by
original_air_date
production_code

Question: What is the highest production code when the writer was brian egeston after season 5?
SQL: SELECT MAX("production_code") FROM tyler_perry_episodes_3 WHERE "written_by" = 'brian egeston' AND "season" > 5