adjust code to work with new resource names and match files even with different cases and dividers i.e. - vs _