script for printing out a CSV of user details