Added automatic loading of required plugins