added cookie support to scotty