updated update script and preload script to use array file for images