send the cookie too; trim empty lines
sync submodules