def confirm(prompt, expected=('yes', 'y')):
    """ Prompts the user to continue with the script
    :param prompt: What to show the user
    :param expected: Valid answers to continue
    :return:
    """
    response = input(prompt + f": ({'/'.join(expected)}) ")
    if response.lower() not in expected:
        print("  Quitting due to invalid prompt answer.")
        return exit(1)