yet another fix for big output and added colour to error output.