hooks install is now using spawn