Merge pull request #260 from stephenplusplus/runHooks

use async in runHooks.