Added bash support for basic console worker and fixed batch basic console worker.