removed unneeded function printl
moved colorization into function
add colorization of installed flag