Initialise plugin activation function