Added check to see if interpreter is running.