fixed the upload functionality to work with the method; added include options