Add licence to generator