Make plugins more portable