Added folder chekking for all the commands
Merge pull request #3 from rajmahendra/master

 	Added folder chekking for all the commands