New environment checking method added to solve the issue downloading the latest release didn't work..