Main method flags for easier testing.