added errors file, updated diff command with new format, switched to universal temp directory for all files