How to automatically execute FH program on saved images