add ability to get calculation using cmd line args