Updated IO to handle errors and make job creation easier.