Re-arranged run.sh
Fixed script to output correctly.