Automatically populate the select