Finishes main page