fixed flags and added --color