Bioplastics manufacturing