@classmethod
def detect(cls, old_config, new_config):
    """Detect if user's script's config file in `new_config` differs from `old_config`"""
    old_script_config = cls.get_nameless_config(old_config)
    new_script_config = cls.get_nameless_config(new_config)
    if old_script_config != new_script_config:
        yield cls(old_config, new_config)
