\graphicspath{{$graphics$/}}

I change the graphics files path, dynamically