set up flog