Got interactive shell mostly working