Set up the code for guests, to some extent