This will make the script more portable, making it possible to run on systems that do not have bash.