Add hooks into installation workflow 3.1.6