Added code for save and get report