Publish: Improved automatic entry point detection