temp directory added + numbered error messages