Common import command

proposed solution for #136 
@maximgubar did you do those changes?