Initialize select box and data based on url