Implemented ROM saving