added a Main with code to screen-scrape the ac parameter