Turning stats into numbers when they are numbers
Adding restart on error capability