Chmod -x
Initialize max_variant_length even when not invoked as __main__