Thank you Kano, greatly appreciate the help.
By (directly) you mean to run the first script from inside cgminer directory? While also having the second script looking like this:
#!/bin/sh
./cgminer -o stratum+tcp://btc.viabtc.com:3333 -u Xylander.gekko1 -p x --suggest-diff 560 --gekko-newpac-detect --gekko-newpac-freq 425
pause