Added copyright note
Added copyright note
Implemented -r option