Added override cookie functionality