     }
     Serial << F("SD OK!") << endl;
 
-    // get track counts
-    tracksBaff = countTracks(dirBaff);
-    tracksWins = countTracks(dirWins);
-    tracksLose = countTracks(dirLose);
-    tracksRock = countTracks(dirRock);
+    configMusicDir(musicDir[TYPE_BAFF], dirBaff);
+    configMusicDir(musicDir[TYPE_WIN], dirWins);
+    configMusicDir(musicDir[TYPE_LOSE], dirLose);
+    configMusicDir(musicDir[TYPE_ROCK], dirRock);
 
     // show counts
     Serial << F("Track counts:") << endl;

        MP3_RST, MP3_CS, MP3_XDCS, MP3_DREQ,
        MP3_SDCS);

// holds the number of possible tracks to play in each gesture
int tracksBaff = 0;
int tracksWins = 0;
int tracksLose = 0;
int tracksRock = 0;
// holds the location of the tracks
const char dirBaff[] = "BAFF";
const char dirWins[] = "WINS";
const char dirLose[] = "LOSE";
const char dirRock[] = "ROCK";

EasyTransfer easyTransfer;
SoundMessage message;
char currDir[] = {4};

void setup() {
    Serial.begin(SERIAL_SPEED);

}

// File listing helper
int countTracks(const char &dirInfo) {
    int count = 0; // track number

    File dir = SD.open(dirInfo);

    while (true) {

