Added in a check for BASH version