Better flag settings