Changed the way entrypoint is declared