XProc pipeline works again, fixed some issues with the Resource FOX