adds a warning if the necessary img command is not installed rather than just throwing a hard to track down exception
Merge branch 'pull-request-10'