PHP script for making it easier to update Structure's site_pages hash (ExpressionEngine)