Updated Command

fixed deprecated methods
Merge pull request #1 from odininon/master

Hii!!!