Added workaround to createobject for curl bug & fixed usage statements