move entry point registration before source/eval