fix issue with "version" having different case

grep command has to be case-insensitive