adjust download link to local conditions