Made compatible with bash 4.1
Adding ANSI library for bash