Adds ANSI color codes to bash functions

Change-Id: I73928c988961f228d7c944d20830a55df03e6dcd