Call main function only if running as __main__