Engineering secondary metabolite production in plants