Added saving files before running