Add option to save the pies

Please review this, @casey-collab