replace sed pipes to sed with multiple -e; rename color variables