Switched flags to high performance