Adding an index to calm a seq scan, removing images from the form that never were used