Move install logic from freebsd-91 into scripts and out of template.json