replaced logname w/ whoami (current user)