fix required command.
fix indent.
Merge pull request #7 from hansode/cleanup-code

Cleanup code