add runtime flag to generate random gauge configurations instead of reading them