Make sure env vars are set before require'ing tm lib.