Updated to switch Edit Post to the correct layout and include the page
script