Script do upload alterado