changed make files and code, to dynaically change cache added the other files that I forgot
changed make files and code, to dynaically change cache