add sudo to flush script