Make the home work with flags