bugfix: msg is an env var, not a file