Added support for custom commands for show

Previously the command option to show had no effect, now, if it is set it will
use that command to show the image.

We still need to add some checks to the code.