Now printing the right script return code

Simple fix.