Added dir.create if local folder does not exist yet