Removed dependency of shell script. [sgur authored]

Use quickrun-hook instead.
Removed dependency of shell script in image2base64.