added upload process and MAC identification