fixing the splash screen script delay