• If you haven't already read it take a look at this http://ola.hallengren.com/

    I use the MaintenanceSolution.sql on there for just about everything with a few changes here and there