Changed way of defining flags to run with