upload of inital code