Added a simple plugin loading function