Finalize main page