fix profile file references when generating users