Are you sure these are the correct env vars the code is actually checking for?