smart import function

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
Merge pull request #114 from miurahr/simplify_import

treat argument smarter in import