added case insensitive match to scripts