updated overlap with important areas script, fixed array for nearby areas