Added options to resave profiles script

Added options to resave profiles script for keeping the original last modified, and for skipping over errors.