Refactored and tested update image with overwrite

Line 1209 is the bane of overwrite's existence. Script runs once every 10 runs when overwrite is set to on so if you need the script to run on the first try comment out line 1209. Be sure to un-commment it and turn off overwrite in brafton importer settings.