Adds dropdown and template coding