Add lapsing script. Still use tty.js for debugging purposes.