Twitter persistence code, still needs to be tested on a new process.