Changed script interpreter to continuation-passing style.