Added -S,-R,-T options
Added copyright notice