Add logic to check for env variables for PE install