Added -save and -html flags to save file as raw list of users or as a table with all user data. Fixed issues with shell script and logging interactions.