changed option to -e from -r for diff due to redundancy