added -k keep and -s skip