added test to prevent download if correct version is already installed