Added check for Bash version (requires 4.x)