added create directory, removed auto tls