get max coins from command line arg