Shell improvements, added code to get predictions from writeright simulator.