add trailing newline
localize upload