added main server flags