Updated Curl scripts to work with OS X and no additional dependencies