modificated
Import magic_shell version 0.3.2