Changed the command to detect the current logged user.
Changed the console command to detect the active logged user in OS X.