Check that curl is available at top of script?