Work more on script entry point.