Fixed plugin loading