Current ver of SPW saving code.