added a error message if no env is given until I can add it.