Auto detect command locations. Add color output. Rearange code.