Added -r flag