Added colors and error management.