fixing splash page script