first upload of all code and data