Updated for bash