Made some changes to text file and node output