flush option updated with sudo