Update run.sh

fixed credits code (to test), put splashscreen in function.