overlay, and script fix