Portability update - now works on systems without cURL/PHP