Moved setupSD into saveData.