Add simple shell detection to enable Linux as well as Windows