added cffi hooks to the cell generation tool, works awesome