Use some awful features of bash scripting.
Moved version checking of stl2png to gallery