to avoid setting the / commands / shell on request, so it avoids a repetition of code