wired up setup, start and stop hooks