Automatically execute main() based on __name__