updated. no error if directory exists