Small changes

Printing with color + error logging to file