fixed docs and use-flags order in files