new cookie script - no html required