Overlay script fix