will use bashopts for subshell