Fixes URL configs; Adds set_as_pirmary view