set shell if defined