Rework instruction adding. Still debugging.