reorder files and script elements. changed Update to Save