Added -r option