Fixed plugin reloading