Added ability to define the entry point of the program