Updated to optimization flags