Changed reference directory to an xml resource string.