Add logic to download the latest pre-release for testing