Replaced folder_exists() by a call to create_folder().