Added inventory save function. Backing up