cURL script improvements to support bucket types and better OS tuning