Fixed an issue with the profile file
Added code to show colored output on MacOS X