Added save data method to home command