fixed import errors, import works except for regions! still need to retest compile window open