added option for region (-r)