added --restrict-domain
renamed cookie-format to format