Added a main function of awesome.