now allowing env var substitutions in custom messages