ticket #550 reworked importing and selecting shells to avoid poluted exceptions