Set up to do previewing