No longer connects unless __main__