Add plugin loading to config