Add support for running pages from the terminal.