def cleanup_name(name):
    """
    Adapt name so it can be used as a variable name
    """
    name = name.replace(" ", "_")
    name = name.replace(".", "_")
    name = name.replace(",", "_")
    name = name.replace("+", "_")
    name = name.replace("^", "_")
    name = name.replace(":", "_")
    name = name.replace("-", "_")
    name = name.replace("(", "_")
    name = name.replace(")", "_")
    name = name.replace("[", "_")
    name = name.replace("]", "_")
    name = name.replace("%", "_")
    name = name.replace("=", "_")
    return name.lower()