Put cookie printing inside string