Fixing scaleCheck bug

It should exit with the scale code, not echo it.
Merge pull request #19 from erik-johnson/patch-1

Fixing scaleCheck bug