License propagation code