fixed interactive shell to work without input file/URL