Command line version of the UACalc