Code for the select your region module