Implemented work wrapping in console.