Added support for older bash versions, size warnings, and xxd warning.