fix uploadfiles command