Added support for running the task multiple times

Added support for skipping the already sprited image references replacements since they cause background position to be written again.