Added a completely unnecessary check for __main__.