Add color for cherry-picking.
Change logical command pipelining to if-else statements.