Edit to print console