add a check to see if splash screen exists before loading