added color output, implement open command