Adjust code path for running as dep

Check multiple code paths when generating the XDR. Paths are hardcoded.