Moved old line 89 to new line 99 so graphics::generate is always run, then changed indentation.