add force option to add sub-command.
add debug message.
fixed #16
Merge branch 'develop'