Add option to apply cookies