fixed relative/absolute path thing in stats script