fixed the license accept issue by adding --when-file-exists=replace