Updated script to make predictions automatically.