Added color prompt code and additional environment settings.