got the cookies working

had to use some array hackery to get them being recognised.