License fix in main script