Added a method to automatically check if the user is root or not for color.