public static void setPath() {
        //Get username and OS
        String os=System.getProperty("os.name");
        String user=System.getProperty("user.name");

        //Set path depending on OS
        if (os.contains("Mac")) Main.path="/Users/"+user+"/Library/Application Support/Preproste Suplence/";
        else if(os.contains("Windows")) Main.path="/C:/Users/"+user+"/AppData/Roaming/Preproste Suplence/";
        else if(os.contains("Linux")) Main.path="/home/"+user+"/.Preproste Suplence/";
    }