Re purpose utility

This is now used for automated direct-to-x logins