Added functionality to fix bugs in the instruction plug.