Repair console script.