add color loading from config and a small piece of hell