Renamed rewrite to redraw and added upload slot debug