Added tiles improvement and files saving in temp directory.