get regions and get environments