Print md5 as part of cache scripts. Address spellcheck issues (quote variables). Remove dead variables. Improve output in general and pipe errors to stderr. Fully spell out curl options for better readability. Always show error with curl.