updated cleardb with env var