All flags now working