fixing url to allow different files