def cmd_check(check_input, return_type=str):
    """
	Allows user to execute commands at any point

	check_input: Input to be checked
	"""
    if check_input == 'exit':
        exit()
    return check_input
