Pyrolysis of agriculture wastes for bio-oil and char production