Add some code to console.php