Remove unnecessary sorts from bots
Add 'if __name__ == "__main__"' to cli