Tweaked setup to avoid runhooks error.