Replace console.php and main.php with 'original' versions, that should then be renamed and modified as part of the installation process.
Whoops. Forgot to include the original versions of console.php and main.php in the previous commit.