Watch the price of the foam board it adds up fast and your labor is worth something. Doing it yourself also limits what you can do. Getting an R-19 min is a good idea but with 2x4 walls not an easy thing. Did you do a ResCheck to find out what you need or did the inspector tell you. Too much foam between the studs and sheetrock can cause headaches in it self