revert shell usage. Print environment of a worker in debug log