Rewrote Plugin.Load code