upgrading upload workflow to local copy
fixing upload mechanism