Big nasty init file, but at least we are custom now.