upload works locally