Fixing prompt for mac. Did not like the env varible for UID. Now using ternary operator