Issue 92 - Fix incremental builds when using image internal scripts

This resolves problem described in #92.
seems like we should, for completeness.