Changed [[ to [ for bash