Added some color formatting in output.
Restructured execute code