Worked on code quality
Added the checkboxes and upload to the index_main.php. Upload.php still needs to be updated for the correct paths and session ids.