This has been happening and then when I get to a certain part of my story the app suddenly exits?
You need to either add the overlay name to the background name so for example
INT. DARK - NIGHT with OVERLAYNAME
Or write this in your script
@overlay OVERLAYNAME create
You either misspelled your overlay name in your script or you did not add the overlay to the scene.