adding varibles with defaults for region and image