WIP: Detect entrypoint before run