#1119 add configurable entry point