adding script to display splash screen