public static String getDefaultConfigPath() {
        String configPath;
        String osName = System.getProperty("os.name");
        if (osName.equalsIgnoreCase("windows 7")) {
            configPath = getBasePath();
        } else if (osName.equalsIgnoreCase("windows 8")) {
            configPath = getBasePath();
        } else if (osName.equalsIgnoreCase("windows vista")) {
            configPath = getBasePath();
        } else if (osName.equalsIgnoreCase("windows xp")) {
            configPath = getBasePath();
        } else if (osName.equalsIgnoreCase("linux")) {
            configPath = getBasePath() + ".config/jmpd/";
        } else if (osName.equalsIgnoreCase("mac os") || osName.equalsIgnoreCase("mac os x")) {
            configPath = getBasePath();
        } else if (osName.equalsIgnoreCase("solaris")) {
            configPath = getBasePath() + ".config/jmpd/";
        } else {
            configPath = getBasePath();
        }
        return configPath;

        /* Use this line instead of the above to default the config directory to the working directory */
//        return System.getProperty("user.dir") + "\\";
    }