added update-license and regenerate script options.