added save and load functions for scenemap