Added -s flag to override dialect, e.g. -s ksh