I have a Linux game on my Optimus system, that requires me to run

Code:
$optirun bash
$./rolauncher
It will not run if I just attempt to start it with $optirun ./rolauncher, the launcher crashes.

Is there anyway of putting the first two lines into a script then running it as a launcher?