https://github.com/c3sr/scope/blob/3812ac369fe5033358d190955a5381c99f8bd78b/tools/generate_runscripts.py#L128