Move console worker setup to script of the console worker