remove the curl --max-time as it breaks valid downloads on slower connections