Potentially dangerous Ernesto now a hurricane