Added input box to specify month at which to stop.