proxy and startup, port prob fixed
adding back in the upload code