add curl upload/download scripts to work with curl auth script