Copied stuff to G8AI and G8Factory