Greatly enhanced the cool error directive