Produces profile-all.csv output file, should work in production (bypass Postgres commands)