Added output flushing of interpreted program