added error colours to console