better plugin loading