Added function to reload plugins