Enhanced by shellcheck.net