Added creation of result folder.