Checked using www.shellcheck.net