added check for env in secret