check for bucket in env