add '-y' flag to add-repository