Infinite loop fixed

No infinite loop. Now just need to get the instructions to be piped
properly.