switched from hard coding ANSI escape sequences to tput