Fixes #29

also make the detection case insensitive